package cn.rongdao.jrkabao.ui.cashadvance.adapter;

import android.content.Context;
import android.view.ViewGroup;

import com.mifengkong.frtools.ui.adapter.recyclerview.FRBaseRecyclerAdapter;
import com.mifengkong.frtools.inputmethod.FRView;

import cn.rongdao.jrkabao.R;
import cn.rongdao.jrkabao.bean.deposit.MyLoanBean;

/**
 * Created by jack on 2017/7/28
 */

public class MyLoanAdapter extends FRBaseRecyclerAdapter<MyLoanBean,MyLoanViewHolder> {

    public MyLoanAdapter(Context context, OnItemClickListener<MyLoanViewHolder> listener) {
        super(context, listener);
    }

    @Override
    public MyLoanViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
        return new MyLoanViewHolder(FRView.inflateLayout(getContext(), R.layout.item_select_card, parent, false));
    }
}
